#ifndef __CPU_INFO_H__
#define __CPU_INFO_H__
const char * SYS_CPU_PATH = "/sys/devices/system/cpu/cpu";
const char * CMD_CAT_CPU_FREQ = "/cpufreq/";

//cpu info cmd list
typedef enum{
    en_cpu_info_affected_cpus = 0,
    en_cpu_info_bios_limit,
    en_cpu_info_cpuinfo_cur_freq,
    en_cpu_info_cpuinfo_max_freq,
    en_cpu_info_cpuinfo_min_freq,
    en_cpu_info_cpuinfo_transition_latency,
    en_cpu_info_freqdomain_cpus,
    en_cpu_info_related_cpus,
    en_cpu_info_scaling_available_frequencies,
    en_cpu_info_scaling_available_governors,
    en_cpu_info_scaling_cur_freq,
    en_cpu_info_scaling_driver,
    en_cpu_info_scaling_governor,
    en_cpu_info_scaling_max_freq,
    en_cpu_info_scaling_min_freq,
    en_cpu_info_scaling_setspeed,
    en_cpu_info_time_in_state,
}ENUM_CPU_INFO;
//cpu info file name list
const char * CPU_INFO_LIST[] = {
    "affected_cpus",
    "bios_limit",
    "cpuinfo_cur_freq",
    "cpuinfo_max_freq",
    "cpuinfo_min_freq",
    "cpuinfo_transition_latency",
    "freqdomain_cpus",
    "related_cpus",
    "scaling_available_frequencies",
    "scaling_available_governors",
    "scaling_cur_freq",
    "scaling_driver",
    "scaling_governor",
    "scaling_max_freq",
    "scaling_min_freq",
    "scaling_setspeed",
    "stats/time_in_state",
};
#endif
